package com.genreate.util.pay.ali;

import com.alipay.v3.util.model.AlipayConfig;

/**
 * 阿里支付配置po
 *
 * @author LYS
 * @date 2025-07-08
 */
public class AliPayConfigPo {
    public static AlipayConfig getAppAlipayConfig() {
        AlipayConfig alipayConfig = new AlipayConfig();
//        alipayConfig.setServerUrl("https://openapi.alipay.com");
//        alipayConfig.setServerUrl("https://openapi.alipaydev.com/gateway.do");
        alipayConfig.setServerUrl("https://openapi-sandbox.dl.alipaydev.com/gateway.do");
        alipayConfig.setAppId("9021000135622741");
        alipayConfig.setPrivateKey("MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCjw4Iqs0Xf8cZD2HGJqVKFRp2hoVcvo58lv/0LV9szxzEHbqlvU2mVoIUhtlyRunpheb69Lj6+nUvGKzct+VoJx4BYnnmnlwyVc/JnKPut+UGwoxwVcBzBoXuVb96JHAiJiI6OOkB8TY+j1/a/bLGdWNTIhjUZKq7TAfKJhCaXzSuERr3TBCERh1Ed3gaVGSj/rWHh0Y5LhXw4Sg+C6Rdn6Zhsd4FaQH5GtdkY6GDmEEZ5BBVV9+ufQiU934ksaUtCxav418eoTEbQqyL/QFmEZBlALYd4G1EcWXTqVMy4FZE8mj5FTp6uvXnB8J/a9hAHRz1NfwXlxGPSZFokjnLRAgMBAAECggEAGE2lfazJS+jXoa33e5STWJAYSKpnA/zmW3XYmdxZ/Z8sGYxEvO7GFpyR5WTo6/+eteSZd/3q9eLmIey77ai5wgXHeF9ccpCqH2vrp3+fijwZkZtDSbMvsVTDwHOvtO1iHvcTIOxoMYpZLNmaFuKMoWtTeMbiDnAVLd92HQ5to81kLW4Y4y2NwPIFXMxJnYGcLHVhrxe5S4xqzXilLu/QIyvnP533fVpoNDWlHPimNRfFFXhNxueZu9fCQ+4tj+kTQjQOeUt53MPKQ0bfRSncg7iXiB9jlTH+LPX2yLZq1Q0wWDuuL2sXG64+6OMsfAftFh5qPmw+m6hEGh7+Fts6IQKBgQDZDlriwaqQyT5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aRJ0qFfOfucI+ZCSGdCoE95GGr5Q6R88k6ui+hVRaTS8IgQcolUUQT0trnH7oE09iE6TZlCEApYQ4iAvHlz2/8on8NYYHxvONq1qIrqIcAEBYbTNzEaDMjAS9wPa6qwjIk0fkyWUDh64XyvOa50lev93r9h3xA1/nXNOKuWZ6pwIDAQAB");
        return alipayConfig;
    }
}
